package com.ctrip.ec.api.admin.model.album;

import com.ctrip.ec.biz.entity.album.AlbumEntity;

import java.util.List;

/**
 * Created by jiangzy on 2018/10/8.
 */
public class AlbumModel extends AlbumEntity {
    public  AlbumModel(){}
    public  AlbumModel(AlbumEntity entity){
        for(String col : entity.property().getColumns()){
            this.fieldValue(col,entity.fieldValue(col));
        }
    }

    private String masterImageUrl;

    public String getMasterImageUrl() {
        return masterImageUrl;
    }

    public void setMasterImageUrl(String masterImageUrl) {
        this.masterImageUrl = masterImageUrl;
    }

    private List<AlbumImageModel> imageList;

    public List<AlbumImageModel> getImageList() {
        return imageList;
    }

    public void setImageList(List<AlbumImageModel> imageList) {
        this.imageList = imageList;
    }


}
